package com.vueapi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.vueapi.domain.HjArticleTag;
import com.vueapi.domain.HjTag;
import com.vueapi.service.HjArticleTagService;
import com.vueapi.mapper.HjArticleTagMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 15442
* @description 针对表【hj_article_tag】的数据库操作Service实现
* @createDate 2022-09-20 11:44:51
*/
@Service
public class HjArticleTagServiceImpl extends ServiceImpl<HjArticleTagMapper, HjArticleTag>
    implements HjArticleTagService{

    @Override
    public List<String> listByArticle(Integer id) {
        return this.baseMapper.listByArticle(id);
    }

    @Override
    public List<HjTag> listByArticleIdAllColumn(Integer id) {
        return this.baseMapper.listByArticleIdAllColumn(id);
    }

    @Override
    public List<String> getAllUseTagByIds(List<Integer> intArrayToList) {
        return baseMapper.getAllUseTagByIds(intArrayToList);
    }
}




